const BASE_URL = 'http://4zqtc8.natappfree.cc/jeecg-boot';

export default {
  getUrl(endpoint) {
    const endpoints = {
      login: `${BASE_URL}/sys/login`,
      verificationCode: `${BASE_URL}/sys/randomImage/`,
      project_list: `${BASE_URL}/xmgl/xmjzb/list`,
      project_detail: `${BASE_URL}/xmgl/xmjzb/queryById`,
      project_progress: `${BASE_URL}/xmgl/xmjzb/queryById`,
      preliminary_procedures: `${BASE_URL}/xmgl/xmjzb/queryProceduresByMainId`
    };
    return endpoints[endpoint] || '';
  }
};
